package com.mjt.admin.service;

import com.mjt.admin.model.RespDataBean;
import com.mjt.admin.pojo.Supplier;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mjt.admin.query.SupplierQuery;

/**
 * <p>
 * 供应商表 服务类
 * </p>
 *
 * @author 莫某人
 * @since 2021-11-01
 */
public interface ISupplierService extends IService<Supplier> {

    /**
     * @description 获取供应商列表
     * @author 莫某人
     * @date 15:19 2021/11/1
 * @param supplierQuery
     * @return {@link RespDataBean< Supplier>}
     **/

    RespDataBean<Supplier> supplierList(SupplierQuery supplierQuery);

    void saveSupplier(Supplier supplier);

    void updateSupplier(Supplier supplier);

    Supplier getByName(String name);

    void deleteSupplier(Integer[] ids);

}
